YAYDP\Helper\YAYDP_Helper A

Total Complexity 67
Dependencies 9
Dependents 25
Total lines 485
Lines of code 289
Logical lines of code 157
Comment lines 163
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
check_applicability()
A
43 15 48
check_applied_coupons_in_cart()
A
56 8 18
get_matching_pairs()
S
49 6 37
replace_rgb_to_hex()
S
54 5 20
sort_products_by_price()
S
49 4 32
get_applied_coupons()
S
55 2 21
does_category_list_contain_product()
S
63 3 10
check_nonce()
S
68 3 6
take_back_items()
S
68 3 7
sort_items_by_price()
S
59 2 14
initialize_custom_cart_item()
S
62 2 11
push_in_items()
S
69 2 7
sanitize_array()
S
69 2 7
get_remaining_product_stock_include_extra_items()
S
70 2 6
map_cases()
S
67 1 10
get_min_require_quantity()
S
81 1 3
str_to_hex()
S
74 1 4
get_remaining_product_stock()
S
71 1 5
map_filter_value()
S
68 1 8
get_verify_rest_nonce_failure_response()
S
68 1 8
verify_rest_nonce()
S
75 1 4
does_product_list_contain_product()
S
78 1 3